﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ShopFront/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VK.Casemeet.Web.ShopFront.Default" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="Controls/ShopCard.ascx" tagname="ShopCard" tagprefix="uc1" %>
<%@ Register src="Controls/grouplist.ascx" tagname="grouplist" tagprefix="uc2" %>

<%@ Import Namespace="VK.Comm" %>
<%@ Import Namespace="VK.Casemeet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
<div id="content_width">
		<!----首页内容 -----> 
		<div id="content">
			<div id="main">
				<div class="activities border spacing">
					<div class="title greentitle"><h2>推荐活动</h2><span><a href="/Shop_<% =shop.ShopID %>/LineList.html">更多>></a></span><div class="clear"></div></div>
					<ul class="activities_con">
						<asp:Repeater ID="rptLine" runat="server"> 
                        <ItemTemplate>
                        <li>
							<a href="/0_0/LineDetail/<%# Eval("LineID") %>.html"><img src="/UserImages/Lines/<%# PageHelper.GetImageUrl(Eval("ImgUrl01").ToString(),"M_") %>"/></a>
							<div><h5><a href="/0_0/LineDetail/<%# Eval("LineID") %>.html"><%# Eval("Name") %></a></h5><h5><a href="#"><%# Eval("ShopName") %></a></h5>集结地：<%# Eval("DesProvinceName")%>&nbsp;&nbsp;&nbsp;&nbsp;目的地：<%# Eval("StaProvinceArea")%><br>出发日期：<%# Util.FormatDateTime((DateTime)Eval("DepartureDate"), DateTimeStyle.ShortDate2) %>&nbsp;&nbsp;&nbsp;&nbsp;天数：<%# Eval("Days")%>天<br>预计费用：<label><%# Eval("Price")%>元</label></div>
						</li>
                        </ItemTemplate>
                        </asp:Repeater>
                        <div class="clear"></div>
					</ul><div class="clear"></div>
				</div>
				<div class="tuan_list bg border spacing">
					<div class="title greentitle"><h2>推荐团购</h2><span><a href="#">更多>></a></span><div class="clear"></div></div>
					<uc2:grouplist ID="recomgrouplist" runat="server" />
				</div>
				<div class="club_pic border spacing">
					<div class="title greentitle"><h2>俱乐部图片</h2><span><a href="/Shop_<% =shop.ShopID %>/AlbumList.html">更多>></a></span><div class="clear"></div></div>
						<ul class="club_pic_con">
							<asp:Repeater ID="rptAlbum" runat="server">
                            <ItemTemplate>
                                <li>
                                    <a href="/Shop_<% =shop.ShopID %>/AlbumDetail_<%# Eval("AlbumID") %>.html">
                                        <img src="/UserImages/Photos/<%# PageHelper.GetImageUrl(Eval("ImgUrl").ToString(),"M_") %>"/>
                                    </a>
                                    <a href="/Shop_<% =shop.ShopID %>/AlbumDetail_<%# Eval("AlbumID") %>.html"><%# Eval("Name")%></a></li>
                            </ItemTemplate>
                            </asp:Repeater>
						</ul><div class="clear"></div>
				</div>
				<div class="club_news border spacing">
					<div class="title greentitle"><h2>俱乐部新闻</h2><span><a href="/Shop_<% =shop.ShopID %>/TravelLogList.html">更多>></a></span><div class="clear"></div></div>
					<ul class="news_content  spacing">
						<asp:Repeater ID="rptTravelLog" runat="server">
                        <ItemTemplate>
                        <li><h5><a href="/Shop_<% =shop.ShopID %>/TravelLogDetail_<%# Eval("TravelLogID") %>.html"><%# Eval("Title") %></a></h5>
							<p><%# Util.CutString(Util.StripHTML(Server.HtmlDecode(Eval("Content").ToString())), 176, CutStyle.Ellipsis) %></p>
							<span>发布时间：<%# Eval("Created")%> <a href="/Shop_<% =shop.ShopID %>/TravelLogDetail_<%# Eval("TravelLogID") %>.html">查看详情</a></span>
						</li>
                        </ItemTemplate>
                        </asp:Repeater>
					</ul>
				</div>
			</div>
			<div id="sidebar">
				<div class="bg border spacing"><img src="/ShopFront/images/merchant.gif" class="merchant_icon"/>
					<uc1:ShopCard ID="ShopCard1" runat="server" />
				</div>
			</div>
			<div class="clear"></div>
		</div>
	</div>
</asp:Content>
